#pragma once

namespace dhis
{

	typedef struct {
		LARGE_INTEGER start;
		LARGE_INTEGER stop;
	} stopWatch;

	class CHRTimer
	{

	private:
		stopWatch timer;
		LARGE_INTEGER frequency;
		double LIToSecs( LARGE_INTEGER & L);
	public:
		CHRTimer();
		void startTimer( );
		void stopTimer( );
		double getElapsedTime();
	};

}
